import request from '@/utils/request'

// 查询投前业务流程节点确认事项完成记录列表
export function listWfBusNodeConfirmed(query) {
  return request({
    url: '/busNodeConfirmed/wfBusNodeConfirmed/list',
    method: 'get',
    params: query
  })
}

// 查询投前业务流程节点确认事项完成记录详细
export function getWfBusNodeConfirmed(id) {
  return request({
    url: '/busNodeConfirmed/wfBusNodeConfirmed/' + id,
    method: 'get'
  })
}

// 保存投前业务流程节点确认事项完成记录
export function saveWfBusNodeConfirmed(data) {
  return request({
    url: '/busNodeConfirmed/wfBusNodeConfirmed/save',
    method: 'post',
    data: data
  })
}

// 删除投前业务流程节点确认事项完成记录
export function deleteWfBusNodeConfirmed(data) {
  return request({
    url: '/busNodeConfirmed/wfBusNodeConfirmed/deleteWfBusNodeConfirmed',
    method: 'post',
    data: data
  })
}

// 删除投前业务流程节点确认事项完成记录
export function delWfBusNodeConfirmed(id) {
  return request({
    url: '/busNodeConfirmed/wfBusNodeConfirmed/' + id,
    method: 'delete'
  })
}

// 导出投前业务流程节点确认事项完成记录
export function exportWfBusNodeConfirmed(query) {
  return request({
    url: '/busNodeConfirmed/wfBusNodeConfirmed/export',
    method: 'get',
    params: query
  })
}
